public class bubbleSort {

    public static void main(String[] args) {
        String str = "abcdefghijklmnopqrstuvwxyz";
        int count = 0;
        for (int i = 1; i < 100; i++) {
            count = 0;
            for (int j = 1; j < i; j++) {
                count += j;
            }
            System.out.println(i+"\t"+count);
        }
    }
}
